import java.util.Arrays;

public class Test13 {
	
	public static void main(String[] args){
		
		int[] arr1={10,50,40,30};
		int[] arr2={10,50,40,30};
		int[] arr3={30,50,40,10};
		int[] arr4={60,70,80};
		
		System.out.println(Arrays.equals(arr1, arr2));
		System.out.println(Arrays.equals(arr1, arr3));
		System.out.println(Arrays.equals(arr1, arr4));
	}

}
